using InventoryIssue.ErrorCode;
using MediatR;

namespace InventoryIssue.API.Write.Application.Command.Allocate
{
    /// <summary>
    /// 取消调拨单命令 - 调拨管理模块
    /// </summary>
    public class CancelAllocateCommand : IRequest<APIResult<int>>
    {
        /// <summary>
        /// 调拨单号
        /// </summary>
        public string AllocateId { get; set; }

        /// <summary>
        /// 取消人
        /// </summary>
        public string Canceler { get; set; }

        /// <summary>
        /// 取消时间
        /// </summary>
        public DateTime CancelTime { get; set; }

        /// <summary>
        /// 取消原因
        /// </summary>
        public string CancelReason { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get; set; }
    }
} 